import axios from 'axios'
export const changeLogin = (acount, passWord) => {
    return (dispatch) =>{
        axios.get('/api/login.json?acount='+acount+'&passWord'+passWord).then((res)=>{
            alert('登陆成功')
        }).catch(()=>{
            console.log('登陆失败')
        })
    }
};